﻿using System;
namespace Moonlite.ExtensionApi
{
    [Serializable]
    public sealed class SettingsProperty : ISettingsItem
    {
        private string name;
        public string Name
        {
            get { return name; }
            set { name = value; }
        }
        private object value;
        public object Value
        {
            get { return value; }
            set { this.value = value; }
        }
        private SettingsItemCollection children;
        public SettingsItemCollection Children
        {
            get { return children; }
        }
        public SettingsProperty() { }
        public SettingsProperty(string name, object value, SettingsItemCollection children)
        {
            this.name = name;
            this.value = value;
            this.children = children;
        }
    }
}